package com.lzq.ribbonrule.config;

import com.lzq.ribbonrule.rule.CustomerRule;
import com.netflix.loadbalancer.IRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class UserServiceRule {

    @Bean
    public IRule iRule() {
        System.out.println("CustomerRule");
        return new CustomerRule();
    }
}
